import Vue from 'vue'
import App from './App'
import store from './store'
import api from './api'
import util from './common/util.js'
import http from './common/axios.js'
import {Api_url} from 'common/config.js'
import minxin from './common/mixins/shopro-share.js'



Vue.config.productionTip = false
Vue.prototype.$getimg = Api_url

App.mpType = 'app'
Vue.prototype.$store = store
Vue.prototype.$api = api
Vue.prototype.$api = http
Vue.prototype.$util = util
Vue.mixin(minxin)

Vue.filter("DataFilter",(data)=>{
	var result = data.split(" ")
	return result[0]
})


const app = new Vue({
	store,
    ...App,
})
app.$mount()